package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 鱼主对象 yu_main
 * 
 * @author ruoyi
 * @date 2025-08-29
 */
public class YuMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long yuId;

    /** 类型 */
    @Excel(name = "类型")
    private String yuName;

    /** 分类ID */
    private Long categoryId;

    /** 名称 */
    @Excel(name = "名称")
    private String yuMc;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date insTime;

    /** 症状 */
    @Excel(name = "症状")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String yuDesc;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setYuId(Long yuId) 
    {
        this.yuId = yuId;
    }

    public Long getYuId() 
    {
        return yuId;
    }

    public void setYuName(String yuName) 
    {
        this.yuName = yuName;
    }

    public String getYuName() 
    {
        return yuName;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setYuMc(String yuMc) 
    {
        this.yuMc = yuMc;
    }

    public String getYuMc() 
    {
        return yuMc;
    }

    public void setInsTime(Date insTime) 
    {
        this.insTime = insTime;
    }

    public Date getInsTime() 
    {
        return insTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setYuDesc(String yuDesc) 
    {
        this.yuDesc = yuDesc;
    }

    public String getYuDesc() 
    {
        return yuDesc;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yuId", getYuId())
            .append("yuName", getYuName())
            .append("categoryId", getCategoryId())
            .append("yuMc", getYuMc())
            .append("insTime", getInsTime())
            .append("status", getStatus())
            .append("yuDesc", getYuDesc())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
